from django.shortcuts import render
from .models import *


def about_us(request):
    # 从数据库取出该页图片
    try:
        all_images = ImgType.objects.get_all()
        for images in all_images:
            images.one = images.img_set.all()
    except:
        pass
    return render(request,"about_us/about_us.html",locals())
